package com.bank.pojo;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * BankInfo entity. @author MyEclipse Persistence Tools
 */

public class BankInfo implements java.io.Serializable {

	// Fields

	private Integer infoId;
	private String infoName;
	private Timestamp infoDate;
	private Float infoSum;
	private Set bankChecks = new HashSet(0);

	// Constructors

	/** default constructor */
	public BankInfo() {
	}

	/** minimal constructor */
	public BankInfo(String infoName, Timestamp infoDate, Float infoSum) {
		this.infoName = infoName;
		this.infoDate = infoDate;
		this.infoSum = infoSum;
	}

	/** full constructor */
	public BankInfo(String infoName, Timestamp infoDate, Float infoSum,
			Set bankChecks) {
		this.infoName = infoName;
		this.infoDate = infoDate;
		this.infoSum = infoSum;
		this.bankChecks = bankChecks;
	}

	// Property accessors

	public Integer getInfoId() {
		return this.infoId;
	}

	public void setInfoId(Integer infoId) {
		this.infoId = infoId;
	}

	public String getInfoName() {
		return this.infoName;
	}

	public void setInfoName(String infoName) {
		this.infoName = infoName;
	}

	public Timestamp getInfoDate() {
		return this.infoDate;
	}

	public void setInfoDate(Timestamp infoDate) {
		this.infoDate = infoDate;
	}

	public Float getInfoSum() {
		return this.infoSum;
	}

	public void setInfoSum(Float infoSum) {
		this.infoSum = infoSum;
	}

	public Set getBankChecks() {
		return this.bankChecks;
	}

	public void setBankChecks(Set bankChecks) {
		this.bankChecks = bankChecks;
	}

}